/*gcc -c -o gtkLabel.o gtkLabel.c `pkg-config --cflags --libs gtk+-2.0`*/
#include "mygtk.h"
#include <gtk/gtk.h>

Widget_t *createLabel(char *text)
{
	return gtk_label_new((const char*) text);
}

void setTextOfLabel(Widget_t *label, char *text)
{
	gtk_label_set_text(GTK_LABEL(label), (const char*) text);
}

const char *getTextOfLabel(Widget_t *label)
{
	return gtk_label_get_text(GTK_LABEL(label));
}